/**
 * 联合类型中，是以 | 区分
 */

let array1: (string | number)[] = ['nihao', 123]

let array2: Array<number | boolean> = [123, true]

let test: string | number = 'lisi'

console.log(array1, array2, test)
export {}
